﻿@model Church.Entities.XmlElementShrine
@{
	ViewBag.Title = Model != null && !string.IsNullOrWhiteSpace(Model.Header) ? Model.Header : "Святыни собора";
}

<div>
	<span>
		<h2>Святыни собора</h2>
	</span>
</div>
<div class="back">
	<a href="@(Url.Action<ShrinesController>(m => m.Index()))">Назад</a>
</div>
@if (Model != null)
{
	<div class="shrine">
		<img src="../@Model.ImageUrl" />
		<h2>@Model.Header</h2>
		@foreach (var paragraph in Model.Paragraphs)
		{
			<p>@paragraph.Paragraph</p>
		}
	</div>
}
